package com.qjznacos.service1.controller;

import com.qjznacos.common.exception.RRException;
import com.qjznacos.common.utils.R;
import com.qjznacos.service1.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    private TestService testService;

    @RequestMapping("hello")
    public R holle(){
        testService.test();
        return R.ok("hello9001");
    }
}
